package cn.java59;

public class Homework1 {

	public static void main(String[] args) {
		double money = 10000;
		for (int i = 0; i < 5; i++) {
			money *= (1 + 0.003);
		}
		System.out.println("5年后获得的本金是:" + money + "元。");

	}
}
